package com.chanzany.observer.case1;

public class Client {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        weatherData.register(new ConcurrentCondition());
        weatherData.register(new Baidu());
        weatherData.register(new Sina());
        weatherData.update(35,120,40);
        weatherData.update(37,130,36);
    }
}
